import Vue from "vue";
import {
  Row,
  Col,
  Card,
  Menu,
  Form,
  Table,
  Input,
  Select,
  Option,
  Button,
  Loading,
  Message,
  Submenu,
  Tooltip,
  MenuItem,
  FormItem,
  Progress,
  Timeline,
  MessageBox,
  TableColumn,
  ButtonGroup,
  TimelineItem,
  Notification,
  MenuItemGroup
} from 'element-ui';
Vue.component(Row.name,Row);
Vue.component(Col.name,Col);
Vue.component(Card.name,Card);
Vue.component(Menu.name,Menu);
Vue.component(Form.name,Form);
Vue.component(Table.name,Table);
Vue.component(Input.name,Input);
Vue.component(Select.name,Select);
Vue.component(Option.name,Option);
Vue.component(Button.name,Button);
Vue.component(Submenu.name,Submenu);
Vue.component(Tooltip.name,Tooltip);
Vue.component(MenuItem.name,MenuItem);
Vue.component(Progress.name,Progress);
Vue.component(Timeline.name,Timeline);
Vue.component(FormItem.name,FormItem);
Vue.component(TableColumn.name,TableColumn);
Vue.component(ButtonGroup.name,ButtonGroup);
Vue.component(TimelineItem.name,TimelineItem);
Vue.component(MenuItemGroup.name,MenuItemGroup);
Vue.use(Loading.directive);
Vue.prototype.$message = Message;
Vue.prototype.$msgBox = MessageBox;
Vue.prototype.$notify = Notification;
Vue.prototype.$loading = Loading.service;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$confirm = MessageBox.confirm;